import tagRender from "@/components/aggridCellRenDerer/tagRender.vue";
import inputNumberRender from "@/components/aggridCellRenDerer/inputNumberRender.vue";

const tableColumns = [
    {
        field: '',
        headerCheckboxSelection: true,
        checkboxSelection: true,
        width: 50,
        showDisabledCheckboxes: false,
        pinned: 'left',
    },
    {
        headerName: '客户',
        field: 'customName',
        width: 150,
    },
    {
        headerName: '原料编号',
        field: 'rawmaterialCode',
        width: 150,
    },
    {
        headerName: '原料名称',
        field: 'rawmaterialName',
        width: 150,
    },
    {
        headerName: '纱牌',
        field: 'yarnCard',
        width: 150,
    },
    {
        headerName: '纱批',
        field: 'batch',
        width: 150,
    },
    {
        headerName: '色号',
        field: 'colorCode',
        width: 150,
    },
    {
        headerName: '色称',
        field: 'colorName',
        width: 150,
    },
    {
        headerName: '等级',
        field: 'level',
        width: 150,
    },
    {
        headerName: '整件件重',
        field: 'pieceWeight',
        width: 150,
    },
    {
        headerName: '调拨中数量',
        field: 'transferInWeight',
        width: 150,
    },
    {
        headerName: '已调拨数量',
        field: 'transferFinishWeight',
        width: 150,
    },
    {
        headerName: '库存数量',
        field: 'stockWeight',
        width: 150,
    },
    {
        headerName: '调拨申请件数',
        field: 'requestTransferNum',
        width: 150,
        cellRenderer: inputNumberRender,

    },
    {
        headerName: '调拨申请数量',
        field: 'requestTransferWeight',
        width: 150,
    },
]

export default tableColumns